home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Palettes / MiscCircularSlider / MiscCSIB.m < prev    next >
Encoding:
Text File  |  1995-06-11  |  676 b   |  30 lines

  1. // Copyright (C) 1995 Vince DeMarco
  2. // Use is governed by the MiscKit license
  3.  
  4. #import "MiscCSIB.h"
  5.  
  6. @implementation MiscCircularSlider(IBSupport)
  7.  
  8. - (const char*)getInspectorClassName
  9. {
  10.     return "MiscCircularSliderInspector";
  11. }
  12.  
  13. // override for IB
  14. - getMinSize:(NXSize *)minSize maxSize:(NXSize *)maxSize from:(int)where
  15. {
  16. //    if ([self sliderStyle] == MISC_SLIDER_STYLE) {
  17. // ***** need to come up with something here.
  18. //    } else {
  19.         // Anything smaller than this is nuts
  20.         minSize->width = 15.0;
  21.         minSize->height = 15.0;
  22.         // Hope you never need one bigger than this!  That would be silly!
  23.         maxSize->width = 2000.0;
  24.         maxSize->height = 2000.0;
  25. //    }
  26.     return self;
  27. }
  28.  
  29. @end
  30.